package com.jy.event.dao;import com.jy.event.domain.WorkShift;import org.springframework.data.repository.CrudRepository;import java.util.Date;import java.util.List;public interface WorkShiftDao extends CrudRepository<WorkShift, String> {    List<WorkShift> findByClosedAndBeginTimeBefore(boolean closed, Date time);}